rustc-ap-rustc_target 650.0.0

Automatically published version of the package `rustc_target` in the rust-lang/rust repository from commit cdb50c6f2507319f29104a25765bfb79ad53395c The publishing script for this crate lives at: https://github.com/alexcrichton/rustc-auto-publish
Documentation
use super::{wasm32_unknown_emscripten, LinkerFlavor, Target};

pub fn target() -> Result<Target, String> {
    let mut target = wasm32_unknown_emscripten::target()?;
    target
        .options
        .post_link_args
        .entry(LinkerFlavor::Em)
        .or_default()
        .extend(vec!["-s".to_string(), "WASM=0".to_string()]);
    Ok(target)
}