Setting arch specific environment without launcher

I’ve a snap which needs some environment variables set at runtime. Some of these have arch triplets in them (x86_64-linux-gnu, i386-linux-gnu etc). I can’t set those in the yaml like this, because when built for anything other than x86_64 (like i386, armhf, arm64 etc) it will break at runtime.

       foo_dir: "usr/lib/x86_64-linux-gnu/foo"
    command: foo

There was a thread about this in snapd, and a bug for snapcraft. I’d really like to not have to keep re-implementing a launcher for every application, but simplify things down to a yaml containing the necessary environment settings.

What’s the plan for this in snapcraft?